//
//  NSDate+MMAdd.h
//  EraPig
//
//  Created by Mac_Mini on 2021/3/22.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDate (MMAdd)

/// 获取今天的日期不含时分秒 2020-02-02
+ (NSString *)getTodayDateString;

/// 获取明天的日期 2020-02-02 02:02:02 -> 2020-02-03 02:02:02
- (NSDate *)getTomorrowDate;

/// date转字符串
- (NSString *)toStringByFormatter:(NSString *)aFormatter;

@end

NS_ASSUME_NONNULL_END
